using System;
using System.Collections.Generic;
using System.IO;

namespace Company.Web.Model
{
    public class LoginsViewTask : ILoginsViewTask
    {
        private ILoginsView m_LoginsView = new LoginsView();
        private IAccountView m_AccountView = new AccountView();

        public ILoginsView DefaultView()
        {
            return m_LoginsView;
        }

        public IAccountView DefaultAccountView()
        {
            IList<ICombo> types = new List<ICombo>()
                                      {
                                          new Combo() {description = "Administrador",id = 1},
                                          new Combo() {description = "Supervisor",id = 2},
                                          new Combo() {description = "Operador",id = 3},
                                          new Combo() {description = "Final",id = 4},
                                      };
            m_AccountView.TypeUser.Combo = types;
            m_AccountView.TypeUser.Selected = "2";
            return m_AccountView;
        }
    }
}